package com.gking.aiService.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;


/**
 * 系统用户，（从主系统中同步过来的简单用户信息表）
 */
@Data
@TableName("sy_user")
public class SyUser implements Serializable {

    private static final long serialVersionUID = 1L;

    //主键id
    @TableId
    private String id;

    @TableField(value = "account")
    private String account;

    @TableField(value = "nickname")
    private String nickname;

    @TableField(value = "enable")
    private Integer enable;

    //创建时间
    @TableField(value = "createTime")
    private LocalDateTime createTime;

    //是否删除
    @TableField(value = "isDelete")
    private Integer isDelete;
}
